<%@ tag description="Allows an anonymous user to register in IWebJTracker" pageEncoding="UTF-8" %>
<%@ taglib prefix="iwebmvc" uri="http://tags.iwebmvc.com" %>
<iwebmvc:textbox path="regUserName" required="true" regexp="[\w]{4,}" maxLength="40" labelText="iwebmvc.ui.login.username" />
<iwebmvc:textbox path="regPassword" required="true" regexp="[\w]{6,}" maxLength="20" labelText="iwebmvc.ui.login.password" password="true" />
<iwebmvc:textbox path="regEmail" required="true" maxLength="60" labelText="org.internna.iwebmvc.model.security.UserImpl.email" regexp='^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$' />
<div style="text-align:right;padding-top:5px">
    <span id="registrationValidation" class="validationWarning"></span>
    <iwebmvc:button label="ui.registration.register" buttonIcon="/resource.iwebmvc?file=/images/register.gif" >
        validateRegistrationForm("<iwebmvc:message argMessage="ui.registration.errorData" />");
    </iwebmvc:button>
</div>